//
//  ViewController.m
//  XHRouter
//
//  Created by xinph on 2020/3/16.
//  Copyright © 2020 xinph. All rights reserved.
//

#import "ViewController.h"
#import "DemoHomeService.h"
#import "XHEnumConstant.h"
#import "XHRouter.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}


- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event
{
    DemoHomeService *service = [[DemoHomeService alloc] initWithAction:XHActionModuleAYY];
    [XHRouter performTarget:service callback:NULL];
}


@end
